projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e20379b
)
(decode_coding_emacs_mule): Fix the case of
author
Eli Zaretskii
<eliz@gnu.org>
Thu, 23 Nov 2000 20:36:02 +0000
(20:36 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 23 Nov 2000 20:36:02 +0000
(20:36 +0000)
CODING_EOL_LF, which used an uninitialized value of c.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index f44efa9415e976c1c68b314692766028ed1ad859..fa79b0b4fdd3027252debdbd16096515b7483c53 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-616,9
+616,8
@@
decode_coding_emacs_mule (coding, source, destination, src_bytes, dst_bytes)
if (*src == '\r')
{
- int c;
+ int c
= *src++
;
- src++;
if (coding->eol_type == CODING_EOL_CR)
c = '\n';
else if (coding->eol_type == CODING_EOL_CRLF)